package models

import "time"

type Monitor struct {
	ID       int       `xorm:"pk autoincr"`
	SPid     string    `xorm:"sPid"`
	SName    string    `xorm:"sName"`
	SCode    string    `xorm:"sCode"`
	SIP      string    `xorm:"sIP"`
	SRemark  string    `xorm:"sRemark"`
	DLast    time.Time `xorm:"dLast"`
	DCreate  time.Time `xorm:"dCreate"`
	LEnable  bool      `xorm:"lEnable"`
	SType    int       `xorm:"sType"`
	SCompany string    `xorm:"sCompany"`
}

func (Monitor) TableName() string {
	return "Monitor"
}
